home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / forge20.zip / FORGE.DOC < prev    next >
Text File  |  1993-01-04  |  76KB  |  2,773 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.    FFFFFFFFFFF    OOOOOOOOO      RRRRRRRRRR        GGGGGGGGGG    EEEEEEEEEEE
  14.    FFFFFFFFFFF   OOOOOOOOOOO     RRRRRRRRRRRR     GGGGGGGGGGGG   EEEEEEEEEEE
  15.    FFF       F   OOO     OOO     RRR      RRR     GGG      GGG   EEE       E
  16.    FFF           OOO     OOO     RRR      RRR     GGG      GGG   EEE
  17.    FFFFFFFF      OOO     OOO     RRRRRRRRRRRR     GGG            EEEEEEEE
  18.    FFFFFFFF      OOO     OOO     RRRRRRRRRR       GGG    GGGGG   EEEEEEEE
  19.    FFF           OOO     OOO     RRR   RRR        GGG    GGGGG   EEE
  20.    FFF           OOO     OOO     RRR    RRR       GGG      GGG   EEE       E
  21.    FFF           OOOOOOOOOOO     RRR     RRR      GGGGGGGGGGGG   EEEEEEEEEEE
  22.    FFF            OOOOOOOOO      RRR      RRR      GGGGGGGGGG    EEEEEEEEEEE
  23.  
  24.  
  25.                                   USER'S MANUAL
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.                                 USER'S MANUAL FOR
  73.                                       FORGE
  74.                                 (FORm GEnerator)
  75.                                     rev. 2.0
  76.  
  77.                                       from
  78.  
  79.                                DEADALIAN Software
  80.                                   P.O. BOX 553
  81.                             Grandville, MI 49418-0553
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.                                 FORGE software
  92.                         (c) Copyright 1986 David Remelts
  93.                                All Rights Reserved
  94.  
  95.                                  FORGE manual
  96.                         (c) Copyright 1986 David Remelts
  97.                                All Rights Reserved
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.          TURBO Pascal is a registered trademark of
  121.          Borland International, Inc.
  122.  
  123.          IBM is a registered trademark of
  124.          International Business Machines Corporation.
  125.  
  126.          dBASE III is a registered trademark of
  127.          Ashton-Tate
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.          THIS SOFTWARE AND MANUAL ARE SOLD "AS IS" AND WITHOUT WAR-
  141.          RANTIES AS TO PERFORMANCE OR MERCHANTABILITY. THE SELLER'S
  142.          SALESPERSONS MAY HAVE MADE STATEMENTS ABOUT THIS SOFTWARE.
  143.          ANY SUCH STATEMENTS DO NOT CONSTITUTE WARRANTIES AND SHALL
  144.          NOT BE RELIED ON BY THE BUYER IN DECIDING WHETHER TO PUR-
  145.          CHASE THIS PROGRAM
  146.  
  147.          THIS PROGRAM IS SOLD WITHOUT ANY EXPRESS OR IMPLIED WARRAN-
  148.          TIES WHATSOEVER. BECAUSE OF THE DIVERSITY OF CONDITIONS AND
  149.          HARDWARE UNDER WHICH THIS PROGRAM MAY BE USED, NO WARRANTY
  150.          OF FITNESS FOR A PARTICULAR PURPOSE IS OFFERED. THE USER IS
  151.          ADVISED TO TEST THE PROGRAM THOROUGHLY BEFORE RELYING ON IT.
  152.          THE USER MUST ASSUME THE ENTIRE RISK OF USING THE PROGRAM.
  153.          ANY LIABILITY OF SELLER OR MANUFACTURER WILL BE LIMITED EX-
  154.          CLUSEVELY TO PRODUCT REPLACEMENT OR REFUND OF THE PURCHASE
  155.          PRICE.
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.                    This software product and manual are being
  211.                    distributed under the USER SUPPORTED SOFT-
  212.                    WARE concept.  The software and manual are
  213.                    copyrighted material; they are NOT in the
  214.                    public domain.  However, you are encouraged
  215.                    to help distribute this product by sharing
  216.                    it with friends and associates, subject to
  217.                    the following rules:
  218.                    1)  You may not SELL copies of the diskette
  219.                        containing the software and manual for
  220.                        more than your cost of reproduction.
  221.                    2)  Copies of the PRINTED manual may not be
  222.                        distributed.
  223.                    3)  The software and documentation may not
  224.                        be altered.
  225.                    4)  The entire contents of the distribution
  226.                        diskette must be included on any copies.
  227.                        This includes: FORGE.COM, FORGE2.COM,
  228.                        FORGE2.000, FORGE.DOC, EXTPROC1.PAS thru
  229.                        EXTPROC4.PAS, DEMO.DTA, DEMO.PAS, DEMO.FMT,
  230.                        and README.TXT.
  231.  
  232.                        If this product is useful to you,
  233.                        please send $20.00 to:
  234.  
  235.                                 DAEDALIAN Software
  236.                                   P.O. Box 553
  237.                            Grandville, MI  49418-0553
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.                                     FOREWORD
  271.  
  272.          Like so many programs available through the user supported
  273.          concept, FORGE was originally conceived and developed to meet
  274.          the personal needs of the author.  Consequently, the program
  275.          has taken on the characteristics that I felt were important
  276.          for a form generator to have.  As the program began to take
  277.          shape, and I began to realize that this might be something
  278.          others would need, I spent more time on the user interface and
  279.          on error trapping, to make it easier to use.
  280.  
  281.          When first released (Rev. 1.0), the program was somewhat slow
  282.          (to put it kindly) because it used the Turbo Pascal WRITELN
  283.          command to create all of the menu screens and to redraw the
  284.          user's screen after the user selected from the color menu.  It
  285.          also used the WRITELN command when the user inserted or
  286.          deleted characters on the screen.
  287.  
  288.          The next release, Rev. 2.0, was a major improvement in the
  289.          screen handling routines.  Now, the program has three 4K buf-
  290.          fers; one each for the two main menu screens and one for the
  291.          screen being designed by the user, and the program uses the
  292.          Turbo Pascal MOVE command to instantaneously move the buffers
  293.          into and out of the physical screen memory area.  Inserting
  294.          and deleting characters on the user's screen is also done with
  295.          the MOVE command.  The difference is dramatic.
  296.  
  297.          I have some ideas for future releases, but the future direct-
  298.          ion of this software will really be determined to a large
  299.          degree by you, the user.  If you have ideas for features you
  300.          would like to see included, or if you have comments on the
  301.          program, its operation, or this manual, or if you find any
  302.          bugs, please send them to me.  I will do all that I can to
  303.          live up to my responsibility as author of the program.
  304.  
  305.          Let's work together to prove that good software doesn't have to be
  306.          expensive or supported by megabuck advertising campaigns to be
  307.          successful.
  308.  
  309.          Thank you for your support,
  310.  
  311.          David Remelts
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.                                TABLE OF CONTENTS
  334.                                *****************
  335.  
  336.  
  337.                  INTRODUCTION                                1
  338.  
  339.                  GENERAL OVERVIEW                            2
  340.  
  341.                  SYSTEM REQUIREMENTS                         3
  342.  
  343.                  DISTRIBUTION DISKETTE CONTENTS              3
  344.  
  345.                  GETTING STARTED                             4
  346.  
  347.                  CREATE A FORM                               4
  348.                    FUNCTION KEY COMMANDS                     6
  349.                    ALT-KEY COMMANDS                          9
  350.                      COLOR MENU COMMAND <alt>C               9
  351.                      DATA FIELD COMMAND <alt>D              11
  352.                      GRAPHICS CHARACTERS <alt>G             14
  353.                      FILL AREA <alt>F                       15
  354.                      REPEAT AREA FILL <alt>R                18
  355.                      HIGHLIGHT DATA FIELDS <alt>H           19
  356.  
  357.                  EDIT A FORM                                20
  358.  
  359.                  SAVE FORM                                  21
  360.  
  361.                  GENERATE CODE                              22
  362.                    TURBO PASCAL                             22
  363.                    dBASE III                                25
  364.  
  365.                  COMPILING THE CODE (TURBO)                 27
  366.  
  367.                  USING YOUR TURBO FORM                      28
  368.                    MOVING AROUND ON THE FORM                28
  369.                    f1=Quit                                  29
  370.                    f2=Prev                                  29
  371.                    f3=Next                                  29
  372.                    f4=Del                                   30
  373.                    f5=Rec#                                  30
  374.                    f8=Backup                                31
  375.                    f0=Accept                                31
  376.                    Record #                                 32
  377.  
  378.                  USING YOUR dBASE FORM                      32
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.                         FORGE from DAEDALIAN Software
  400.                   TURBO PASCAL AND dBASE III FORm GEnerator
  401.  
  402.  
  403.  
  404.  
  405.          INTRODUCTION:
  406.  
  407.               FORGE is a TURBO Pascal and dBASE III programmer's aid.
  408.  
  409.          It allows the programmer to design data input forms or help
  410.  
  411.          screens, then generate TURBO Pascal or dBASE III source code
  412.  
  413.          for those forms.  This source code can then be compiled and
  414.  
  415.          used as is for data entry, or it can be included as a
  416.  
  417.          procedure within a larger more comprehensive program.  Since
  418.  
  419.          this is a utility for TURBO Pascal and dBASE III, a working
  420.  
  421.          knowledge of these programming languages is assumed.  This
  422.  
  423.          manual will not explain topics that are already covered in the
  424.  
  425.          TURBO Pascal, dBASE III, or the DOS manuals.
  426.  
  427.               The concept of FORGE is somewhat analogous to word
  428.  
  429.          processing.  With a word processor you can write, review,
  430.  
  431.          change, insert, delete and otherwise perfect your text before
  432.  
  433.          committing it to its final form.  FORGE allows you to do the
  434.  
  435.          same thing with a data input form or information screen.  Some
  436.  
  437.          of the outstanding features of FORGE are that you can: fill
  438.  
  439.          an area on the screen with color, without affecting the char-
  440.  
  441.          acters that are already on the screen, insert or delete lines
  442.  
  443.          from the screen, define areas on the form for entering data,
  444.  
  445.          define data entry areas as "String", "Integer", or "Real" data
  446.  
  447.          types, use IBM graphics characters to "draw" boxes etc., and
  448.  
  449.          use blinking characters.
  450.  
  451.               Although it is possible to create very colorful and
  452.  
  453.          "slick" looking screens with FORGE, dBASE III will not be
  454.  
  455.          able to reproduce a multicolored form.
  456.  
  457.  
  458.  
  459.  
  460.  
  461.                                    PAGE 1
  462.  
  463.  
  464.  
  465.                         FORGE from DAEDALIAN Software
  466.                   TURBO PASCAL AND dBASE III FORm GEnerator
  467.  
  468.  
  469.  
  470.          GENERAL:
  471.  
  472.               Creating a data entry form for TURBO Pascal is a three-
  473.  
  474.          step process.  First use FORGE to design a form, or to edit
  475.  
  476.          an existing form.  Then use FORGE to generate the TURBO
  477.  
  478.          Pascal source code.  Finally, use TURBO Pascal to compile the
  479.  
  480.          source code into executable code.
  481.  
  482.               When FORGE generates the source code for the form it
  483.  
  484.          creates two files on the disc.  Both files have the same name
  485.  
  486.          but different extensions.  The name is supplied by you, and
  487.  
  488.          the extensions are supplied by FORGE.  One file has a ".PAS"
  489.  
  490.          extension and the other has a ".DTA" extension.  The .PAS file
  491.  
  492.          is the source code generated by FORGE, and the .DTA file
  493.  
  494.          contains all the information about the form that you designed.
  495.  
  496.          This file should not be destroyed because FORGE needs this
  497.  
  498.          file if you want to edit the form later.
  499.  
  500.               Creating a data entry form for dBASE III is a two-step
  501.  
  502.          process.  First use FORGE to design a form, or to edit an
  503.  
  504.          existing form.  Then use FORGE to generate the dBASE III
  505.  
  506.          source code.
  507.  
  508.               When FORGE generates the source code for the form it
  509.  
  510.          creates two files on the disc.  Both files have the same name
  511.  
  512.          but different extensions.  The name is supplied by you, and
  513.  
  514.          the extensions are supplied by FORGE.  One file has a ".FMT"
  515.  
  516.          extension and the other has a ".DTA" extension.  The .FMT file
  517.  
  518.          is the source code generated by FORGE, and the .DTA file
  519.  
  520.          contains all the information about the form that you designed.
  521.  
  522.          This file should not be destroyed because FORGE needs this
  523.  
  524.          file if you want to edit the form later.
  525.  
  526.  
  527.                                    PAGE 2
  528.  
  529.  
  530.  
  531.                         FORGE from DAEDALIAN Software
  532.                   TURBO PASCAL AND dBASE III FORm GEnerator
  533.  
  534.  
  535.  
  536.               The .DTA files for forms created for TURBO Pascal are
  537.  
  538.          identical to those created for forms for dBASE III.  You can
  539.  
  540.          use the same .DTA file to generate TURBO Pascal code and dBASE
  541.  
  542.          III code.
  543.  
  544.  
  545.  
  546.          SYSTEM REQUIREMENTS:
  547.  
  548.               FORGE requires an IBM PC, PC XT, PCjr, or true compat-
  549.  
  550.          ible, with 128k of memory, one disk drive, and TURBO Pascal
  551.  
  552.          2.0 or higher.  A color graphics card and color monitor are
  553.  
  554.          highly recommended to get the full benefit of the features
  555.  
  556.          built into FORGE, however color is not required in order to
  557.  
  558.          use FORGE.  It is possible to use a color system to design
  559.  
  560.          forms for a monochrome system, and vice versa.  Some of the
  561.  
  562.          differences between the two systems will be explained in this
  563.  
  564.          manual as each of the features of FORGE are explained.
  565.  
  566.  
  567.  
  568.          CONTENTS OF DISTRIBUTION DISKETTE
  569.  
  570.               The FORGE distribution diskette contains several files
  571.  
  572.          when you receive  it.  It is recommended that you make a work-
  573.  
  574.          ing copy of the distribution diskette and keep the original in
  575.  
  576.          a safe place; FORGE is not copy protected.  The files supplied
  577.  
  578.          on the distribution diskette are: FORGE.COM, the main program,
  579.  
  580.          FORGE2.COM and FORGE2.000, a version of the main program that
  581.  
  582.          uses overlays, and EXTPROC1.PAS thru EXTPROC4.PAS.  These four
  583.  
  584.          files are TURBO Pascal Include files, they must be present in
  585.  
  586.          the default drive when you compile the TURBO source code for
  587.  
  588.          your form.  There is also a file called DEMO.DTA on the
  589.  
  590.          diskette.  This file is a form that you can use to practice
  591.  
  592.  
  593.                                    PAGE 3
  594.  
  595.  
  596.  
  597.                         FORGE from DAEDALIAN Software
  598.                   TURBO PASCAL AND dBASE III FORm GEnerator
  599.  
  600.  
  601.  
  602.          the concepts discussed in this manual.  There are also two
  603.  
  604.          files, DEMO.PAS and DEMO.FMT, that show what the code
  605.  
  606.          generated by FORGE will look like for TURBO Pascal and dBASE
  607.  
  608.          III.
  609.  
  610.  
  611.  
  612.          GETTING STARTED
  613.  
  614.               FORGE is a .COM file, and can be started by simply typing
  615.  
  616.          "FORGE" and pressing <enter>.  If you are using FORGE on a
  617.  
  618.          PCjr, or if you get an insufficient memory error, try using
  619.  
  620.          the FORGE2 version by typing "FORGE2" and pressing <enter>.
  621.  
  622.          This is essentially the same program but parts of it are
  623.  
  624.          loaded from an overlay file (FORGE2.000) when required.  This
  625.  
  626.          makes the main program smaller, but requires that the overlay
  627.  
  628.          file, FORGE2.000, be present on the default drive whenever
  629.  
  630.          option #3 or #4 are selected from the main menu.
  631.  
  632.               When FORGE starts you are presented with the main menu.
  633.  
  634.          There are five items from which to select on this menu:
  635.  
  636.               1. Create a form,
  637.               2. Edit a form,
  638.               3. Save form,
  639.               4. Generate Code, and
  640.               5. Exit program.
  641.          Select the desired procedure by pressing the number key assoc-
  642.  
  643.          iated with it.
  644.  
  645.  
  646.  
  647.          CREATE A FORM
  648.  
  649.               If you select the "Create a Form" option from the main
  650.  
  651.          menu by pressing "1", FORGE presents the color selection
  652.  
  653.          menu.  You tell FORGE what color to use for the foreground
  654.  
  655.          (text) and background colors by selecting from the color menu.
  656.  
  657.  
  658.  
  659.                                    PAGE 4
  660.  
  661.  
  662.  
  663.                         FORGE from DAEDALIAN Software
  664.                   TURBO PASCAL AND dBASE III FORm GEnerator
  665.  
  666.  
  667.  
  668.               First you select from the background menu.  The menu con-
  669.  
  670.          sists of a color bar with 8 colors displayed.  Each color has
  671.  
  672.          its name written across it in white, except the bottom one
  673.  
  674.          which is the white background.  This one has its name written
  675.  
  676.          in black.
  677.  
  678.               On a monochrome system you do not have the ability to
  679.  
  680.          display all the different background colors.  You will notice
  681.  
  682.          that the first seven background colors are all displayed as
  683.  
  684.          black, the last one is displayed as a reverse video background
  685.  
  686.          with black characters on it.  Selecting the Lt Gray background
  687.  
  688.          will not automatically give you a reverse video field though,
  689.  
  690.          unless you also select the Black or Dk Gray option from the
  691.  
  692.          foreground color menu.
  693.  
  694.               There is an arrow on the left side of the color bar that
  695.  
  696.          looks like this: NoBlink==>>.  The "NoBlink" has no signif-
  697.  
  698.          icance during selection of the background color, but will come
  699.  
  700.          into play when you select the text color.  Use the UP and DOWN
  701.  
  702.          cursor keys to move the arrow so that it points to the color
  703.  
  704.          that you want for the background, and select it by pressing
  705.  
  706.          <enter>.
  707.  
  708.               You are then presented with the foreground color selec-
  709.  
  710.          tion menu.  There are 16 colors available for the text color.
  711.  
  712.          The menu background is all one color, (the color that you have
  713.  
  714.          just chosen as your background color) with the name of each
  715.  
  716.          text color spelled out in its own color.  This gives the user
  717.  
  718.          a good representation of what the screen will look like when
  719.  
  720.          text is placed on the form in that color combination (What you
  721.  
  722.          see is what you get).  Again, move the arrow up and down to
  723.  
  724.  
  725.                                    PAGE 5
  726.  
  727.  
  728.  
  729.                         FORGE from DAEDALIAN Software
  730.                   TURBO PASCAL AND dBASE III FORm GEnerator
  731.  
  732.  
  733.  
  734.          point to the color combination that looks right to you.
  735.  
  736.               On a monochrome system your options are again somewhat
  737.  
  738.          limited.  If you selected the Black background then you have
  739.  
  740.          the option of having underlined text by selecting the Blue or
  741.  
  742.          Lt Blue foreground colors.  If you selected the Lt Gray back-
  743.  
  744.          ground color then you have the option of having text displayed
  745.  
  746.          in reverse video by selecting the Black or Dk Gray foreground
  747.  
  748.          colors.  Other than that, text will be displayed in regular
  749.  
  750.          video (character pixels on, background black) with most other
  751.  
  752.          combinations, except Black or Dk Gray on Black, which will not
  753.  
  754.          display any text.
  755.  
  756.               You also have the option at this point of selecting the
  757.  
  758.          "Blink" feature.  If you select this option then all the text
  759.  
  760.          that you place on the form will blink on and off.  To select
  761.  
  762.          this option use the RIGHT cursor key.  The "NoBlink==>>" arrow
  763.  
  764.          will disappear and the "<<==Blink" arrow will appear on the
  765.  
  766.          other side of the menu pointing to the same color combination
  767.  
  768.          as before.  You can switch back and forth between NoBlink/-
  769.  
  770.          Blink by pressing the RIGHT and LEFT cursor keys.  Make your
  771.  
  772.          final selection by pressing <enter>, this will also select the
  773.  
  774.          blink option in effect at the time the <enter> key is pressed.
  775.  
  776.               You are now presented with a black screen with a white
  777.  
  778.          status line across the bottom (reverse video on a monochrome
  779.  
  780.          system).  Now you can place text on the form in the text/back-
  781.  
  782.          ground color combination that you selected; the black back-
  783.  
  784.          ground will be overwritten with your color combination.
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.                                    PAGE 6
  792.  
  793.  
  794.  
  795.                         FORGE from DAEDALIAN Software
  796.                   TURBO PASCAL AND dBASE III FORm GEnerator
  797.  
  798.  
  799.  
  800.          FUNCTION KEY COMMANDS
  801.  
  802.                The white status line across the bottom of the screen
  803.  
  804.          describes the purpose of the function keys, and also tells
  805.  
  806.          which funtion key is in effect at any given time.  On a color
  807.  
  808.          monitor the function key that is in effect will be displayed
  809.  
  810.          in blue on the white background.  On a monochrome monitor the
  811.  
  812.          function key that is in effect will switch from a being dis-
  813.  
  814.          played in reverse video to regular video (character pixels
  815.  
  816.          will be on).
  817.  
  818.  
  819.  
  820.          f1:  REPEAT DOWN.  This function key causes the autorepeat
  821.  
  822.          operation to repeat in the DOWN direction.  This is useful for
  823.  
  824.          making boxes and borders.  When this key is in effect it is
  825.  
  826.          highlighted in blue on the status line (on a monochrome system
  827.  
  828.          this key will be highlighted in regular video).  This function
  829.  
  830.          can be turned off by pressing the f1 key again, or by pressing
  831.  
  832.          f2 or f3.
  833.  
  834.  
  835.  
  836.          f2:  REPEAT LEFT.  This function key causes the autorepeat
  837.  
  838.          operation to repeat in the LEFT direction.  Turn it off by
  839.  
  840.          pressing f2 again, or by pressing f3 or f1.
  841.  
  842.  
  843.  
  844.          f3:  REPEAT UP.  This function key causes the autorepeat
  845.  
  846.          operation to repeat in the UP direction.  Turn it off by
  847.  
  848.          pressing f3 again, or by pressing f1 or f2.
  849.  
  850.  
  851.  
  852.          f8:  INSERT LINE.  This function key causes the line that the
  853.  
  854.          cursor is presently on, and all subsequent lines, to be pushed
  855.  
  856.  
  857.                                    PAGE 7
  858.  
  859.  
  860.  
  861.                         FORGE from DAEDALIAN Software
  862.                   TURBO PASCAL AND dBASE III FORm GEnerator
  863.  
  864.  
  865.  
  866.          down one line.  The last line of your form will be pushed off
  867.  
  868.          the screen and cannot be retrieved.  Pressing f8 is a one-time
  869.  
  870.          operation; it does not need to be turned off after being used.
  871.  
  872.  
  873.  
  874.          f9:  DELETE LINE.  This function key causes the line that the
  875.  
  876.          cursor is presently on to be deleted.  All subsequent lines
  877.  
  878.          will move up one line, and there will be a blank line at the
  879.  
  880.          bottom of the form.  The line that has been deleted cannot be
  881.  
  882.          retrieved.  Pressing f9 is a one-time operation; it does not
  883.  
  884.          need to be turned off after being used.
  885.  
  886.  
  887.  
  888.          f10: MAIN MENU.  This function key will bring you back to the
  889.  
  890.          main menu.
  891.  
  892.  
  893.  
  894.               At the extreme right of the status line is the cursor
  895.  
  896.          location indicator.  This indicator uses standard TURBO cursor
  897.  
  898.          location notation, that is: the upper left corner of the
  899.  
  900.          screen is location 1,1, the X coordinate is given first, and
  901.  
  902.          the Y coordinate is given second.  This differs from dBASE III
  903.  
  904.          cursor notation in which the upper left corner of the dBASE
  905.  
  906.          screen is location 0,0, with the Y coordinate given first,
  907.  
  908.          and the X coordinate given second.  If you are using FORGE to
  909.  
  910.          design a screen for dBASE you will have to learn to mentally
  911.  
  912.          convert these coordinates.  Perhaps a later version will allow
  913.  
  914.          the coordinates to be displayed in either format at the user's
  915.  
  916.          discretion.  At any rate, the dBASE  .FMT file produced by
  917.  
  918.          FORGE will have the @... SAY coordinates correctly converted
  919.  
  920.          to dBASE syntax.
  921.  
  922.  
  923.                                    PAGE 8
  924.  
  925.  
  926.  
  927.                         FORGE from DAEDALIAN Software
  928.                   TURBO PASCAL AND dBASE III FORm GEnerator
  929.  
  930.  
  931.  
  932.  
  933.  
  934.          ALT-KEY COMMANDS
  935.  
  936.               Besides the function key commands FORGE has six <alt>
  937.  
  938.          key commands:
  939.  
  940.          <alt>C: Color Menu
  941.          <alt>D: Data Field
  942.          <alt>G: Graphics Characters
  943.          <alt>F: Fill Area
  944.          <alt>R: Repeat Fill
  945.          <alt>H: Highlight Data Fields.
  946.  
  947.  
  948.          COLOR MENU COMMAND <alt>C
  949.  
  950.               This command will allow you to change the text/background
  951.  
  952.          color combination.  Pressing <Alt>C will invoke the color
  953.  
  954.          menu.  The form that you were working on will dissappear to
  955.  
  956.          make way for the color menu screen, but  it will be restored
  957.  
  958.          after you make your color menu selection.
  959.  
  960.               First you select from the background menu.  The menu con-
  961.  
  962.          sists of a color bar with 8 colors displayed.  Each color has
  963.  
  964.          its name written across it in white, except the bottom one
  965.  
  966.          which is the white background.  This one has its name written
  967.  
  968.          in black.
  969.  
  970.               On a monochrome system you do not have the ability to
  971.  
  972.          display all the different background colors.  You will notice
  973.  
  974.          that the first seven background colors are all displayed as
  975.  
  976.          black, the last one is displayed as a reverse video background
  977.  
  978.          with black characters on it.  Selecting the Lt Gray background
  979.  
  980.          will not automatically give you a reverse video field though,
  981.  
  982.          unless you also select the Black or Dk Gray option from the
  983.  
  984.          foreground color menu.
  985.  
  986.               There is an arrow on the left side of the color bar that
  987.  
  988.  
  989.                                    PAGE 9
  990.  
  991.  
  992.  
  993.                         FORGE from DAEDALIAN Software
  994.                   TURBO PASCAL AND dBASE III FORm GEnerator
  995.  
  996.  
  997.  
  998.          looks like this: NoBlink==>>.  The "NoBlink" has no signif-
  999.  
  1000.          icance during selection of the background color, but will come
  1001.  
  1002.          into play when you select the text color.  Use the UP and DOWN
  1003.  
  1004.          cursor keys to move the arrow so that it points to the color
  1005.  
  1006.          that you want for the background, and select it by pressing
  1007.  
  1008.          <enter>.
  1009.  
  1010.               You are then presented with the foreground color selec-
  1011.  
  1012.          tion menu.  There are 16 colors available for the text color.
  1013.  
  1014.          The menu background is all one color, (the color that you have
  1015.  
  1016.          just chosen as your background color) with the name of each
  1017.  
  1018.          text color spelled out in its own color.  This gives the user
  1019.  
  1020.          a good representation of what the screen will look like when
  1021.  
  1022.          text is placed on the form in that color combination (What you
  1023.  
  1024.          see is what you get).  Again, move the arrow up and down to
  1025.  
  1026.          point to the color combination that looks right to you.
  1027.  
  1028.               On a monochrome system your options are again somewhat
  1029.  
  1030.          limited.  If you selected the Black background then you have
  1031.  
  1032.          the option of having underlined text by selecting the Blue or
  1033.  
  1034.          Lt Blue foreground colors.  If you selected the Lt Gray back-
  1035.  
  1036.          ground color then you have the option of having text displayed
  1037.  
  1038.          in reverse video by selecting the Black or Dk Gray foreground
  1039.  
  1040.          colors.  Other than that, text will be displayed in regular
  1041.  
  1042.          video (character pixels on, background black) with most other
  1043.  
  1044.          combinations, except Black or Dk Gray on Black, which will not
  1045.  
  1046.          display any text.
  1047.  
  1048.               You also have the option at this point of selecting the
  1049.  
  1050.          "Blink" feature.  If you select this option then all the text
  1051.  
  1052.          that you place on the form will blink on and off.  To select
  1053.  
  1054.  
  1055.                                    PAGE 10
  1056.  
  1057.  
  1058.  
  1059.                         FORGE from DAEDALIAN Software
  1060.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1061.  
  1062.  
  1063.  
  1064.          this option use the RIGHT cursor key.  The "NoBlink==>>" arrow
  1065.  
  1066.          will disappear and the "<<==Blink" arrow will appear on the
  1067.  
  1068.          other side of the menu pointing to the same color combination
  1069.  
  1070.          as before.  You can switch back and forth between NoBlink/-
  1071.  
  1072.          Blink by pressing the RIGHT and LEFT cursor keys.  Make your
  1073.  
  1074.          final selection by pressing <enter>, this will also select the
  1075.  
  1076.          blink option in effect at the time the <enter> key is pressed.
  1077.  
  1078.               After you have made your selection, the form that you
  1079.  
  1080.          were designing will reappear on the screen with the cursor
  1081.  
  1082.          positioned where it was before.  You can continue to design
  1083.  
  1084.          your form and all the text that you enter now will be in the
  1085.  
  1086.          new color combination that you selected.
  1087.  
  1088.  
  1089.  
  1090.          DATA FIELD COMMAND <alt>D
  1091.  
  1092.               This command allows you to define data input fields on
  1093.  
  1094.          your form.
  1095.  
  1096.               Data fields are areas on the form that you wish to desig-
  1097.  
  1098.          nate as user input fields.  They act as tab stops when the
  1099.  
  1100.          user is entering data with your form.  What you are really
  1101.  
  1102.          doing is designating a record variable.  The <alt>D command
  1103.  
  1104.          acts as a toggle; press it at the beginning of your data input
  1105.  
  1106.          field, then press it again at the end of the data input field.
  1107.  
  1108.          When the toggle is "on" the word "Data" will be highlighted in
  1109.  
  1110.          blue in the status line at the bottom of the screen (on a
  1111.  
  1112.          monochrome system the word "Data" will be highlighted in
  1113.  
  1114.          regular video on the status line).  This is your first indi-
  1115.  
  1116.          cation that the Data Field Command is in effect, the second
  1117.  
  1118.          indication is that the text and background colors that were in
  1119.  
  1120.  
  1121.                                    PAGE 11
  1122.  
  1123.  
  1124.  
  1125.                         FORGE from DAEDALIAN Software
  1126.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1127.  
  1128.  
  1129.  
  1130.          effect will be reversed.  This gives you a very clear indicat-
  1131.  
  1132.          ion of how your data input fields are arranged.
  1133.  
  1134.               Because most fore/background color combinations display
  1135.  
  1136.          in regular video on a monochrome system (regardless if they
  1137.  
  1138.          are reversed or not), we strongly suggest that monochrome sys-
  1139.  
  1140.          tem users design their forms with the Black background and the
  1141.  
  1142.          Lt Gray or White foreground colors.  Then, when you turn the
  1143.  
  1144.          Data Field toggle "on", the fore/background colors will be
  1145.  
  1146.          reversed (Black on Lt Gray) which will yield a reverse video
  1147.  
  1148.          data input field.
  1149.  
  1150.               If the data field color combination is not to your liking
  1151.  
  1152.          you can change it.  There are several ways to do this.  You
  1153.  
  1154.          can invoke the color menu (<alt>C) immediately after the
  1155.  
  1156.          <alt>D command, in which case the data field will be created
  1157.  
  1158.          with the exact text/background combination that you select,
  1159.  
  1160.          but then the text and background colors will be the reverse
  1161.  
  1162.          of the data field colors when you toggle the <alt>D command
  1163.  
  1164.          "off."
  1165.  
  1166.               Another method is to use the Fill Area command (<alt>F),
  1167.  
  1168.          which is discussed in more detail under its own heading.  This
  1169.  
  1170.          command can be used in two ways to change the data field
  1171.  
  1172.          colors.  It can be used by itself to change the background
  1173.  
  1174.          color of the entire form, including data fields, or it can be
  1175.  
  1176.          used with the Repeat Area Fill command (<alt>R), also discus-
  1177.  
  1178.          sed in more detail under its own heading, to fill just the
  1179.  
  1180.          data input fields with a different coLor.
  1181.  
  1182.               The best method, though, is to use the <alt>H command.
  1183.  
  1184.          This command is specifically designed to highlight just the
  1185.  
  1186.  
  1187.                                    PAGE 12
  1188.  
  1189.  
  1190.  
  1191.                         FORGE from DAEDALIAN Software
  1192.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1193.  
  1194.  
  1195.  
  1196.          data input fields.  The command is described in more detail
  1197.  
  1198.          under its own heading.
  1199.  
  1200.               Do NOT change the data input field background color by
  1201.  
  1202.          using the <alt>C command to select a background/text comb-
  1203.  
  1204.          ination, and using that color combination to "paint over" the
  1205.  
  1206.          data input fields AFTER you have toggled the <alt>D command
  1207.  
  1208.          "off".  If you do you will destroy its identity as a data
  1209.  
  1210.          input field because the <alt>D command is "off", and FORGE
  1211.  
  1212.          will consider the characters you are typing as any other
  1213.  
  1214.          normal text on the form.
  1215.  
  1216.               When you initialize a data input field with the <alt>D
  1217.  
  1218.          command, type the name of the field in the data field.  Remem-
  1219.  
  1220.          ber, what you are really doing with the <alt>D command is def-
  1221.  
  1222.          ining a record variable for FORGE, and a record variable
  1223.  
  1224.          needs a variable name.  Any name will do for now; you will be
  1225.  
  1226.          given a chance to rename the field later when FORGE gener-
  1227.  
  1228.          ates the TURBO Pascal or dBASE III source code for your form.
  1229.  
  1230.          So, if you are defining a data input field for an item called
  1231.  
  1232.          CATEGORY, and the field is only three characters, obviously,
  1233.  
  1234.          the full name of the field will not fit.  Just type "CAT" in
  1235.  
  1236.          the field and later you can rename it if you want to.  You
  1237.  
  1238.          don't have to rename it of course; "CAT" is a perfectly
  1239.  
  1240.          legitimate variable name, or even just "C" for that matter.
  1241.  
  1242.          The name only has to be meaningful to you.
  1243.  
  1244.               It's also important to remember that whatever you type in
  1245.  
  1246.          the data input field area while you are creating or editing a
  1247.  
  1248.          form will NOT appear on the form after the source code is gen-
  1249.  
  1250.          erated.  What you type in the data input field while creating
  1251.  
  1252.  
  1253.                                    PAGE 13
  1254.  
  1255.  
  1256.  
  1257.                         FORGE from DAEDALIAN Software
  1258.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1259.  
  1260.  
  1261.  
  1262.          or editing a form is only a label used to identify that field,
  1263.  
  1264.          and to distiguish that field from the others.  Therefore, each
  1265.  
  1266.          field must be identified with a unique label.
  1267.  
  1268.               Data input fields cannot be run together.  If you try to
  1269.  
  1270.          define two data input fields contiguously, without a non-data-
  1271.  
  1272.          input-field character between them, FORGE will interpret
  1273.  
  1274.          them as one large data input field when it generates the
  1275.  
  1276.          source code for your form.  Therefore, this also means that
  1277.  
  1278.          you cannot have one data input field end at the end of a line
  1279.  
  1280.          (column 80) and have another data input field begin at the
  1281.  
  1282.          beginning of the next line (column 1); this would also be
  1283.  
  1284.          interpreted as one large data input field.
  1285.  
  1286.               If you want large data input fields then you can have
  1287.  
  1288.          your data input field "wrap around" from one line to the next.
  1289.  
  1290.          The maximum length that a data input field can be is 255 char-
  1291.  
  1292.          acters.
  1293.  
  1294.               When the <alt>D command is toggled "on" typing any char-
  1295.  
  1296.          acter or space will increment the size of the data field you
  1297.  
  1298.          are creating, as witnessed by the reverse color combination
  1299.  
  1300.          appearing on the form.  Using the cursor keys you can move to
  1301.  
  1302.          another location on the form, effectively ending the first
  1303.  
  1304.          data input field that you were creating, and start another
  1305.  
  1306.          data input field at that new location.
  1307.  
  1308.  
  1309.  
  1310.          GRAPHICS CHARACTERS <alt>G
  1311.  
  1312.               This command will allow you to use the extended character
  1313.  
  1314.          set of your computer to draw boxes, borders and greek symbols
  1315.  
  1316.          on your form.
  1317.  
  1318.  
  1319.                                    PAGE 14
  1320.  
  1321.  
  1322.  
  1323.                         FORGE from DAEDALIAN Software
  1324.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1325.  
  1326.  
  1327.  
  1328.               This is another toggle command.  Press it once and it is
  1329.  
  1330.          "on", press it again and it is "off".  When it is "on" the
  1331.  
  1332.          word "Graphics" will be highlighted in blue in the status line
  1333.  
  1334.          (regular video on a monochrome system) to indicate that the
  1335.  
  1336.          characters that you put on your form will not be the char-
  1337.  
  1338.          acters that you see on your keyboard.
  1339.  
  1340.               To make it easier to use the graphics character set you
  1341.  
  1342.          should construct a table that will show you what graphic char-
  1343.  
  1344.          acter will appear on your form for each of the keys on your
  1345.  
  1346.          keyboard.  To do this use the ASCII code table supplied with
  1347.  
  1348.          your computer.  For each of the characters from ASCII 32 to
  1349.  
  1350.          127 add 127 to the ASCII value and look up the new ASCII value
  1351.  
  1352.          to see what character will be generated.
  1353.  
  1354.               For example: the letter "d" is ASCII 100.  Add 127 to it
  1355.  
  1356.          to get 227.  Look up ASCII 227 and you will see that it is the
  1357.  
  1358.          pi symbol.  Therefore, if you have "Graphics" toggled "on" and
  1359.  
  1360.          you type a letter "d" the pi symbol will appear on your form.
  1361.  
  1362.  
  1363.  
  1364.          FILL AREA <alt>F
  1365.  
  1366.               The Fill Area command will allow you to fill an area on
  1367.  
  1368.          your form with the background color of your choice.  This is a
  1369.  
  1370.          one-time command; it does not have to be toggled off after
  1371.  
  1372.          using it.
  1373.  
  1374.               Using this command on a monochrome system could have
  1375.  
  1376.          unpredictable results.  It won't harm anything, but generally
  1377.  
  1378.          the background color selection has no effect on the display;
  1379.  
  1380.          it will almost always remain a black background.  The only
  1381.  
  1382.          exception to this is if there happens to be text already on
  1383.  
  1384.  
  1385.                                    PAGE 15
  1386.  
  1387.  
  1388.  
  1389.                         FORGE from DAEDALIAN Software
  1390.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1391.  
  1392.  
  1393.  
  1394.          the form that was put there in black-text-on-some-color-
  1395.  
  1396.          background.  If you now select a fill color of Lt Gray that
  1397.  
  1398.          text will be displayed in reverse video.  However, selecting
  1399.  
  1400.          Lt Gray as a fill color will not result in reverse video if
  1401.  
  1402.          the text is some color other than black, even though it is
  1403.  
  1404.          displayed as reverse video on the color selection menu.  It is
  1405.  
  1406.          shown as reverse video on the color selection menu to indicate
  1407.  
  1408.          that that is the ONLY background color that is able to produce
  1409.  
  1410.          reverse video on a monochrome system.
  1411.  
  1412.               Filling an area on the form with color will have no
  1413.  
  1414.          effect on what has already been put on the form (unless you
  1415.  
  1416.          select a color for the background that is the same as the
  1417.  
  1418.          color of the letters in the area you are going to fill, in
  1419.  
  1420.          which case the letters will become invisible).  If you have
  1421.  
  1422.          defined data input fields on your form, or if you have placed
  1423.  
  1424.          text on your form (blinking or nonblinking), or if you have
  1425.  
  1426.          placed graphics characters on your form, they will still be
  1427.  
  1428.          there after you fill that area with color.  However, if you
  1429.  
  1430.          fill an area that contains data input fields you will no
  1431.  
  1432.          longer be able to tell exactly where your data fields are
  1433.  
  1434.          because the foreground and background color of the data field
  1435.  
  1436.          will no longer be reversed.  To rehighlight the data input
  1437.  
  1438.          fields see the <alt>H command.
  1439.  
  1440.               When you press the <alt>F key you will be presented with
  1441.  
  1442.          a color menu.  This is the same color menu that you see when
  1443.  
  1444.          using the <alt>C command, except that this time you only have
  1445.  
  1446.          to select a background color.  The menu consists of a color
  1447.  
  1448.          bar with 8 colors displayed.  Each color has its name written
  1449.  
  1450.  
  1451.                                    PAGE 16
  1452.  
  1453.  
  1454.  
  1455.                         FORGE from DAEDALIAN Software
  1456.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1457.  
  1458.  
  1459.  
  1460.          across it in white, except the bottom one which is the white
  1461.  
  1462.          background.  This one has its name written in black.
  1463.  
  1464.               On a monochrome system you will notice that the first
  1465.  
  1466.          seven colors are all displayed as black, the last one is
  1467.  
  1468.          displayed as a reverse video background with black characters
  1469.  
  1470.          on it.
  1471.  
  1472.               There is an arrow on the left side of the color bar that
  1473.  
  1474.          looks like this: NoBlink==>>.  The "NoBlink" has no signif-
  1475.  
  1476.          icance during selection of the background color, but does come
  1477.  
  1478.          into effect when this same menu is used to select background
  1479.  
  1480.          and text color combinations, as explained in the <alt>C com-
  1481.  
  1482.          mand description.  Use the UP and DOWN cursor keys to move the
  1483.  
  1484.          arrow so that it points to the color that you want to use for
  1485.  
  1486.          filling the area on your form, and select it by pressing
  1487.  
  1488.          <enter>.
  1489.  
  1490.               Your form is then redisplayed on the screen and a message
  1491.  
  1492.          appears in the status line at the bottom of the screen telling
  1493.  
  1494.          you to move the cursor to the upper left corner of the area
  1495.  
  1496.          that you want to fill.  At this point the only keys that are
  1497.  
  1498.          active are the cursor keys and the <enter> key.
  1499.  
  1500.               Using the cursor keys, move the cursor to the upper left
  1501.  
  1502.          corner of the area you want to fill and press <enter>.  FORGE
  1503.  
  1504.          will put a marker on the screen at the spot you selected.
  1505.  
  1506.          This marker may appear to obliterate a character on your form,
  1507.  
  1508.          but the effect is only temporary; the character will reappear
  1509.  
  1510.          after the fill operation is completed.  The marker is put
  1511.  
  1512.          there so that you have a reference point to use if you are
  1513.  
  1514.          trying to visualize your color filled area.
  1515.  
  1516.  
  1517.                                    PAGE 17
  1518.  
  1519.  
  1520.  
  1521.                         FORGE from DAEDALIAN Software
  1522.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1523.  
  1524.  
  1525.  
  1526.               Next, the status line at the bottom of your screen will
  1527.  
  1528.          tell you to move the cursor to the bottom right corner of the
  1529.  
  1530.          area you want to fill.  Use the cursor keys again to position
  1531.  
  1532.          the cursor where you want the bottom right corner of your
  1533.  
  1534.          filled area, and press <enter>.  The rectangular area that you
  1535.  
  1536.          have defined by its upper left and lower right corners will be
  1537.  
  1538.          filled with the color that you have chosen from the color
  1539.  
  1540.          menu, and the cursor will be positioned where it was before
  1541.  
  1542.          the <alt>F command was invoked.
  1543.  
  1544.  
  1545.  
  1546.          REPEAT AREA FILL <alt>R
  1547.  
  1548.               The <alt>R command is used to repeat the Fill Area
  1549.  
  1550.          command with the last color selected from the color menu.
  1551.  
  1552.               For instance, suppose you wanted to change the background
  1553.  
  1554.          color of all the data entry fields on your form.  You could
  1555.  
  1556.          use the <alt>F command (Fill Area) to select a color from the
  1557.  
  1558.          menu and then change the first data entry field as described
  1559.  
  1560.          above.  Then instead of using the <alt>F command again, which
  1561.  
  1562.          would require selecting from the color menu again, you would
  1563.  
  1564.          use the <alt>R command.  The <alt>R command skips the color
  1565.  
  1566.          menu selection part of the <alt>F command and goes right to
  1567.  
  1568.          the prompt in the status line telling you to move the cursor
  1569.  
  1570.          to the upper left corner of the area you want to fill.  FORGE
  1571.  
  1572.          will use the color that you selected from the color menu in
  1573.  
  1574.          the most recent <alt>F command.
  1575.  
  1576.               If you use the <alt>R command without first having used
  1577.  
  1578.          the <alt>F command, FORGE will default to a BLACK background
  1579.  
  1580.          for the fill color.
  1581.  
  1582.  
  1583.                                    PAGE 18
  1584.  
  1585.  
  1586.  
  1587.                         FORGE from DAEDALIAN Software
  1588.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.          HIGHLIGHT DATA FIELDS <alt>H
  1595.  
  1596.               The Highlight command will allow you to select a color
  1597.  
  1598.          from the menu and will fill the data input fields on your form
  1599.  
  1600.          with the background color that you choose.
  1601.  
  1602.               When you press the <alt>H key you will be presented with
  1603.  
  1604.          a color menu.  This is the same color menu that you see when
  1605.  
  1606.          using the <alt>C command, except that this time you only have
  1607.  
  1608.          to select a background color.  The menu consists of a color
  1609.  
  1610.          bar with 8 colors displayed.  Each color has its name written
  1611.  
  1612.          across it in white, except the bottom one which is the white
  1613.  
  1614.          background.  This one has its name written in black.
  1615.  
  1616.               On a monochrome system you will notice that the first
  1617.  
  1618.          seven colors are all displayed as black, the last one is
  1619.  
  1620.          displayed as a reverse video background with black characters
  1621.  
  1622.          on it.  However, selecting Lt Gray as a fill color will not
  1623.  
  1624.          result in reverse video if the foreground color in the data
  1625.  
  1626.          input fields is some color other than black, even though it is
  1627.  
  1628.          displayed as reverse video on the color selection menu.  It is
  1629.  
  1630.          shown as reverse video on the color selection menu to indicate
  1631.  
  1632.          that that is the ONLY background color that is able to produce
  1633.  
  1634.          reverse video on a monochrome system.
  1635.  
  1636.               There is an arrow on the left side of the color bar that
  1637.  
  1638.          looks like this: NoBlink==>>.  The "NoBlink" has no signif-
  1639.  
  1640.          icance during selection of the background color, but does come
  1641.  
  1642.          into effect when this same menu is used to select background
  1643.  
  1644.          and text color combinations, as explained in the <alt>C com-
  1645.  
  1646.          mand description.  Use the UP and DOWN cursor keys to move the
  1647.  
  1648.  
  1649.                                    PAGE 19
  1650.  
  1651.  
  1652.  
  1653.                         FORGE from DAEDALIAN Software
  1654.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1655.  
  1656.  
  1657.  
  1658.          arrow so that it points to the color that you want to use for
  1659.  
  1660.          highlighting the data input fields on your form, and select it
  1661.  
  1662.          by pressing <enter>.
  1663.  
  1664.               Your form is then redisplayed and the data input fields
  1665.  
  1666.          are changed to the background color that you chose from the
  1667.  
  1668.          menu.
  1669.  
  1670.  
  1671.  
  1672.          EDIT A FORM
  1673.  
  1674.               The "Edit a Form" option will allow you to make revisions
  1675.  
  1676.          to a form that you have already created.
  1677.  
  1678.               If you select the "Edit a Form" option from the main menu
  1679.  
  1680.          by pressing "2", FORGE will ask you for the name of the form
  1681.  
  1682.          you wish to edit.  Enter the name of a form that you have
  1683.  
  1684.          previously created with FORGE.  Do not add an extension to
  1685.  
  1686.          the name, FORGE will be looking for the <filename>.DTA file
  1687.  
  1688.          that was saved on disk when the form was originally created.
  1689.  
  1690.          The .DTA file must be present on the default drive in order
  1691.  
  1692.          to edit a form.
  1693.  
  1694.               Once the .DTA file is loaded into memory FORGE will
  1695.  
  1696.          display the form on the screen.  At this time you should use
  1697.  
  1698.          the <alt>C command to select a text/background color combin-
  1699.  
  1700.          ation.
  1701.  
  1702.               From this point on the procedure for editing, or mod-
  1703.  
  1704.          ifying, a form is just like creating a form; refer to the
  1705.  
  1706.          previous discussion about creating a form. All the commands
  1707.  
  1708.          that are available for creating a form are also available for
  1709.  
  1710.          editing a form.
  1711.  
  1712.  
  1713.  
  1714.  
  1715.                                    PAGE 20
  1716.  
  1717.  
  1718.  
  1719.                         FORGE from DAEDALIAN Software
  1720.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1721.  
  1722.  
  1723.  
  1724.  
  1725.          SAVE FORM
  1726.  
  1727.               If you select the "Save Form" option from the main menu
  1728.  
  1729.          by pressing "3", FORGE will save the form that you were
  1730.  
  1731.          working on.  This option allows you to save a form that is not
  1732.  
  1733.          yet complete and ready for TURBO Pascal or dBASE III source
  1734.  
  1735.          code to be generated from it.
  1736.  
  1737.               First FORGE will ask you for the name of the form that
  1738.  
  1739.          you are generating.  Enter the name of the form without an
  1740.  
  1741.          extension.  FORGE will open the <filename>.DTA file for the
  1742.  
  1743.          information about your form: information about where the data
  1744.  
  1745.          fields are, what colors you used, whether or not any char-
  1746.  
  1747.          acters blink, and what characters are on the form.  This .DTA
  1748.  
  1749.          file is necessary for you to be able to edit your form later.
  1750.  
  1751.               If the form name that you supply is the name of an
  1752.  
  1753.          existing file, FORGE will let you know that the form already
  1754.  
  1755.          exists and will ask if you want to overwrite it.  If you
  1756.  
  1757.          respond with a "Y" or "y", FORGE will write your new form
  1758.  
  1759.          over the old one of the same name, and the old one will be
  1760.  
  1761.          lost.  If you respond "N" or "n", FORGE will allow you to
  1762.  
  1763.          supply a different name for your form.
  1764.  
  1765.               FORGE will also check to make sure that the name you
  1766.  
  1767.          supply is a proper DOS file name, and will tell you the
  1768.  
  1769.          position of the illegal character if it is not a legal DOS
  1770.  
  1771.          file name.  File names may include any of the following char-
  1772.  
  1773.          acters: A..Z a..z 0..9 _ . $ & # @ ! % ( ) - { } / \.
  1774.  
  1775.               FORGE will now begin to write the <filename>.DTA file.
  1776.  
  1777.          You will notice a lot of disk activity for a few moments while
  1778.  
  1779.  
  1780.  
  1781.                                    PAGE 21
  1782.  
  1783.  
  1784.  
  1785.                         FORGE from DAEDALIAN Software
  1786.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1787.  
  1788.  
  1789.  
  1790.          this file is created.
  1791.  
  1792.               Later, when you wish to continue working on this form
  1793.  
  1794.          design, select the "Edit a Form" option from the main menu, by
  1795.  
  1796.          pressing "2", and supplying this file name (without an exten-
  1797.  
  1798.          sion).
  1799.  
  1800.  
  1801.  
  1802.          GENERATE CODE
  1803.  
  1804.               If you select the "Generate Code" option by pressing "4",
  1805.  
  1806.          FORGE will generate TURBO Pascal or dBASE III source code
  1807.  
  1808.          for your form.
  1809.  
  1810.               In the case of TURBO Pascal this code can be used as is;
  1811.  
  1812.          it is a complete TURBO Pascal program, just compile it and run
  1813.  
  1814.          it.  You could also make this code into a subroutine by
  1815.  
  1816.          changing the first word to "Procedure" and by changing the
  1817.  
  1818.          last period to a semicolon, and then include this subroutine
  1819.  
  1820.          in another program.
  1821.  
  1822.               In the case of dBASE III this code becomes a .FMT file.
  1823.  
  1824.          Somewhere in your main dBASE III program you must put a comm-
  1825.  
  1826.          and statement: SET FORMAT TO <filename>.
  1827.  
  1828.               When you select this option from the main menu you will
  1829.  
  1830.          be presented with a second menu.  From this menu you must sel-
  1831.  
  1832.          ect whether you want to generate TURBO Pascal or dBASE III
  1833.  
  1834.          source code.  You also have the option of returning to the
  1835.  
  1836.          main menu by pressing "Q" if you decide that you do not want
  1837.  
  1838.          to generate code at this time.
  1839.  
  1840.  
  1841.  
  1842.          TURBO PASCAL
  1843.  
  1844.               First FORGE will ask you for the name of the form that
  1845.  
  1846.  
  1847.                                    PAGE 22
  1848.  
  1849.  
  1850.  
  1851.                         FORGE from DAEDALIAN Software
  1852.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1853.  
  1854.  
  1855.  
  1856.          you are generating.  Enter the name of the form without an
  1857.  
  1858.          extension.  FORGE will open two files, <filename>.PAS for
  1859.  
  1860.          the source code, and <filename>.DTA for the information about
  1861.  
  1862.          your form: information about where the data fields are, what
  1863.  
  1864.          colors you used, whether or not any characters blink, and what
  1865.  
  1866.          characters are on the form.  This .DTA file is necessary for
  1867.  
  1868.          you to be able to edit your form later.
  1869.  
  1870.               If the form name that you supply is the name of an
  1871.  
  1872.          existing file, FORGE will let you know that the form already
  1873.  
  1874.          exists and will ask if you want to overwrite it.  If you
  1875.  
  1876.          respond with a "Y" or "y" FORGE will write your new form
  1877.  
  1878.          over the old one of the same name and the old one will be
  1879.  
  1880.          lost.  If you respond "N" or "n" FORGE will allow you to
  1881.  
  1882.          supply a different name for your form.
  1883.  
  1884.               FORGE will also check to make sure that the name you
  1885.  
  1886.          supply is a proper DOS file name, and will tell you the
  1887.  
  1888.          position of the illegal character if it is not a legal DOS
  1889.  
  1890.          file name.  File names may include any of the following char-
  1891.  
  1892.          acters: A..Z a..z 0..9 _ . $ & # @ ! % ( ) - { } / \.
  1893.  
  1894.               FORGE will now begin to write the <filename>.DTA file.
  1895.  
  1896.          You will notice a lot of disk activity for a few moments while
  1897.  
  1898.          this file is created.
  1899.  
  1900.               FORGE then begins to construct the <filename>.PAS file.
  1901.  
  1902.          One of the first things it does is go through your form to see
  1903.  
  1904.          if there are any data input fields.  If there are none then
  1905.  
  1906.          your form must be an information or help screen, in which case
  1907.  
  1908.          the <filename>.PAS file will not contain much more than a
  1909.  
  1910.          series of WRITELN statements to duplicate your form on the
  1911.  
  1912.  
  1913.                                    PAGE 23
  1914.  
  1915.  
  1916.  
  1917.                         FORGE from DAEDALIAN Software
  1918.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1919.  
  1920.  
  1921.  
  1922.          screen.
  1923.  
  1924.               However, if your form does contain data input fields then
  1925.  
  1926.          the <filename>.PAS file gets considerably more complicated.
  1927.  
  1928.          For each data input field FORGE will now ask you if you want
  1929.  
  1930.          to rename the data field.  Remember, the data input field name
  1931.  
  1932.          is really just a file variable, it really doesn't matter what
  1933.  
  1934.          name you use as long as it's a legal TURBO Pascal variable
  1935.  
  1936.          name.  FORGE will check the variable name that you give the
  1937.  
  1938.          data input field to see if it is a legal variable name.  The
  1939.  
  1940.          TURBO Pascal restrictions on variable names are a little more
  1941.  
  1942.          stringent than the DOS requirements for file names.  Variable
  1943.  
  1944.          names must start with a letter (upper or lower case) or under-
  1945.  
  1946.          score, and can be followed by any combination of letters,
  1947.  
  1948.          numbers, or underscore.  Standard TURBO Pascal variables can
  1949.  
  1950.          be 127 characters long, however, FORGE limits the length of
  1951.  
  1952.          variables to 30 characters.
  1953.  
  1954.               FORGE will then ask what type of field this is.
  1955.  
  1956.          Respond by pressing "I" if it is an integer input field, "R"
  1957.  
  1958.          if it is a real input field and "S" if it is a string input
  1959.  
  1960.          field.  You may press either the upper or lower case letter.
  1961.  
  1962.          If you are defining a real type data input field FORGE will
  1963.  
  1964.          then ask how many decimal places you have in the field.  Resp-
  1965.  
  1966.          ond with a number from 0 to one less than the length of the
  1967.  
  1968.          data input field.
  1969.  
  1970.               When you are defining integer data fields remember that
  1971.  
  1972.          the maximum integer that TURBO Pascal can handle is 32767.  If
  1973.  
  1974.          you have an integer data input field whose length is 5 or
  1975.  
  1976.          more, there is a possibility that the user who is using this
  1977.  
  1978.  
  1979.                                    PAGE 24
  1980.  
  1981.  
  1982.  
  1983.                         FORGE from DAEDALIAN Software
  1984.                   TURBO PASCAL AND dBASE III FORm GEnerator
  1985.  
  1986.  
  1987.  
  1988.          form to put information into a file could enter an integer
  1989.  
  1990.          that is out of range.  For instance, if you were designing a
  1991.  
  1992.          form to enter names and addresses, and the five number zip code
  1993.  
  1994.          field was defined as an integer field, it is certain that
  1995.  
  1996.          someone's zip code would be above 32767.  This will cause a
  1997.  
  1998.          fatal run-time error.  The way to get around this is to define
  1999.  
  2000.          the field as a real type data input field with zero decimal
  2001.  
  2002.          places.
  2003.  
  2004.               After you have finished defining all of your data input
  2005.  
  2006.          fields, FORGE will generate the source code for the form
  2007.  
  2008.          that you have designed.  The source code will be written to a
  2009.  
  2010.          disk in the the default drive; be sure that there is a format-
  2011.  
  2012.          ted disk in the default drive that has at least 30k free space
  2013.  
  2014.          left.  FORGE will write two files to the disk, they will
  2015.  
  2016.          both have the same name but different extensions.  One file
  2017.  
  2018.          will have a .DTA extension.  This file contains all the
  2019.  
  2020.          information about the form that you have created, as mentioned
  2021.  
  2022.          above.
  2023.  
  2024.               The other file will be the .PAS file.  This is the source
  2025.  
  2026.          code for your form.  This is the file that you will compile
  2027.  
  2028.          with your TURBO Pascal compiler to produce an executable .COM
  2029.  
  2030.          file.
  2031.  
  2032.  
  2033.  
  2034.          dBASE III
  2035.  
  2036.               First FORGE will ask you for the name of the form that
  2037.  
  2038.          you are generating.  Enter the name of the form without an
  2039.  
  2040.          extension.  FORGE will open two files, <filename>.FMT for
  2041.  
  2042.          the source code, and <filename>.DTA for the information about
  2043.  
  2044.  
  2045.                                    PAGE 25
  2046.  
  2047.  
  2048.  
  2049.                         FORGE from DAEDALIAN Software
  2050.                   TURBO PASCAL AND dBASE III FORm GEnerator
  2051.  
  2052.  
  2053.  
  2054.          your form: information about where the data fields are, what
  2055.  
  2056.          colors you used, whether or not any characters blink (dBASE
  2057.  
  2058.          III generally does not support these features though), and
  2059.  
  2060.          what characters are on the form.  This .DTA file is necessary
  2061.  
  2062.          for you to be able to edit your form later.
  2063.  
  2064.  
  2065.  
  2066.               If the form name that you supply is the name of an
  2067.  
  2068.          existing file, FORGE will let you know that the form already
  2069.  
  2070.          exists and will ask if you want to overwrite it.  If you
  2071.  
  2072.          respond with a "Y" or "y" FORGE will write your new form
  2073.  
  2074.          over the old one of the same name and the old one will be
  2075.  
  2076.          lost.  If you respond "N" or "n" FORGE will allow you to
  2077.  
  2078.          supply a different name for your form.
  2079.  
  2080.               FORGE will also check to make sure that the name you
  2081.  
  2082.          supply is a proper DOS file name, and will tell you the
  2083.  
  2084.          position of the illegal character if it is not a legal DOS
  2085.  
  2086.          file name.  File names may include any of the following char-
  2087.  
  2088.          acters: A..Z a..z 0..9 _ . $ & # @ ! % ( ) - { } / \.
  2089.  
  2090.               FORGE will now begin to write the <filename>.DTA file.
  2091.  
  2092.          You will notice a lot of disk activity for a few moments while
  2093.  
  2094.          this file is created.
  2095.  
  2096.               FORGE then begins to construct the <filename>.FMT file.
  2097.  
  2098.          One of the first things it does is go through your form to see
  2099.  
  2100.          if there are any data input fields.  If there are none then
  2101.  
  2102.          your form must be an information or help screen, in which case
  2103.  
  2104.          the <filename>.FMT file will not contain much more than a
  2105.  
  2106.          series of @ Y,X SAY... statements to duplicate your form on the
  2107.  
  2108.          screen.
  2109.  
  2110.  
  2111.                                    PAGE 26
  2112.  
  2113.  
  2114.  
  2115.                         FORGE from DAEDALIAN Software
  2116.                   TURBO PASCAL AND dBASE III FORm GEnerator
  2117.  
  2118.  
  2119.  
  2120.               However, if your form does contain data input fields then
  2121.  
  2122.          the <filename>.FMT file will also contain the GET statements
  2123.  
  2124.          with PICTURE and RANGE options.
  2125.  
  2126.               For each data input field FORGE will now ask you if you
  2127.  
  2128.          want to rename the data field.  The data input field name must
  2129.  
  2130.          match exactly the field name as it is defined in your .DBF
  2131.  
  2132.          file.  If there was not enough room to put the whole field
  2133.  
  2134.          name in the field when you designed the form, now is the time
  2135.  
  2136.          to change the name so that it matches the .DBF field name.
  2137.  
  2138.          FORGE will check the variable name that you give the data
  2139.  
  2140.          input field to see if it is a legal variable name.  The dBASE
  2141.  
  2142.          III restrictions on variable names are a little more stringent
  2143.  
  2144.          than the DOS requirements for file names.  Variable names must
  2145.  
  2146.          start with a letter (upper or lower case) or underscore, and
  2147.  
  2148.          can be followed by any combination of letters, numbers, or
  2149.  
  2150.          underscore.
  2151.  
  2152.               Next, FORGE will give you the opportunity to specify
  2153.  
  2154.          function and template symbols for the PICTURE clause, and a
  2155.  
  2156.          range for the RANGE clause.  Refer to the dBASE III manual for
  2157.  
  2158.          the proper use of these clauses.
  2159.  
  2160.  
  2161.  
  2162.          COMPILING THE CODE (TURBO)
  2163.  
  2164.               Make sure that your <filename>.PAS file and EXTPROC1.PAS
  2165.  
  2166.          through EXTPROC4.PAS are all on the same disk in the default
  2167.  
  2168.          drive.  Also, make sure there is at least 30K free space on
  2169.  
  2170.          the disk in the default drive.
  2171.  
  2172.               Start TURBO Pascal.  Select your <filename>.PAS file as
  2173.  
  2174.          the MAIN file.  Select the Com-file option from the Compiler
  2175.  
  2176.  
  2177.                                    PAGE 27
  2178.  
  2179.  
  2180.  
  2181.                         FORGE from DAEDALIAN Software
  2182.                   TURBO PASCAL AND dBASE III FORm GEnerator
  2183.  
  2184.  
  2185.  
  2186.          Options menu.  Compile the program as you would any other
  2187.  
  2188.          TURBO Pascal source code.
  2189.  
  2190.               After compiling, the <filename>.COM file will be on the
  2191.  
  2192.          disk in the default drive.
  2193.  
  2194.  
  2195.  
  2196.          USING YOUR TURBO FORM
  2197.  
  2198.               Start your form program from the DOS prompt by typing the
  2199.  
  2200.          name of your compiled source code file (without an extension),
  2201.  
  2202.          then press <enter>.
  2203.  
  2204.               The screen will go blank, and your form will ask "Data
  2205.  
  2206.          File Name".  Respond by entering the name of the file that
  2207.  
  2208.          contains, or will contain, the data that is entered through
  2209.  
  2210.          this form.  Your form will open the data input file with the
  2211.  
  2212.          name that you supplied.  If the file already exists, it will
  2213.  
  2214.          be opened for append.  If it does not exist, then it will be
  2215.  
  2216.          opened as a new file.  Next, your form will appear on the
  2217.  
  2218.          screen, just as you designed it except that the variable names
  2219.  
  2220.          will not appear in the data input fields.  There is also a
  2221.  
  2222.          status line across the bottom of the screen showing the
  2223.  
  2224.          meaning of the function keys.
  2225.  
  2226.  
  2227.  
  2228.          MOVING AROUND ON THE FORM
  2229.  
  2230.               While you are using your form to enter data the data
  2231.  
  2232.          input fields act as tab stops.  If you press the <tab> key the
  2233.  
  2234.          cursor will jump to the beginning of the next data input
  2235.  
  2236.          field.  If you are currently on the last data input field, and
  2237.  
  2238.          you press the <tab> key, you will jump to the beginning of the
  2239.  
  2240.          first data input field on your form.
  2241.  
  2242.  
  2243.                                    PAGE 28
  2244.  
  2245.  
  2246.  
  2247.                         FORGE from DAEDALIAN Software
  2248.                   TURBO PASCAL AND dBASE III FORm GEnerator
  2249.  
  2250.  
  2251.  
  2252.               The <enter> key also acts as a tab stop key.  Pressing
  2253.  
  2254.          <enter> at any time will simply move the cursor to the next
  2255.  
  2256.          data input field.
  2257.  
  2258.  
  2259.  
  2260.               While you are using your form the function keys f1
  2261.  
  2262.          through f5, f8, and f10 are active, and perform special oper-
  2263.  
  2264.          ations.
  2265.  
  2266.  
  2267.  
  2268.          f1=Quit
  2269.  
  2270.               This function key will allow you to exit your form prog-
  2271.  
  2272.          ram.  It will close the data file that you were entering data
  2273.  
  2274.          into.
  2275.  
  2276.  
  2277.  
  2278.          f2=Prev
  2279.  
  2280.               This function key will allow you to review records that
  2281.  
  2282.          have already been entered into your data file.  You can go all
  2283.  
  2284.          the way back to the beginning of the data file this way,
  2285.  
  2286.          reviewing the records that you have entered.  When you reach
  2287.  
  2288.          the first record of the file and press f2, your form will
  2289.  
  2290.          beep at you, and just redisplay the first record again.
  2291.  
  2292.  
  2293.  
  2294.          f3=Next
  2295.  
  2296.               This function key will allow you to review records in a
  2297.  
  2298.          foreward direction, toward the end of the data file.  When you
  2299.  
  2300.          reach the last record of the file and press f3, your form
  2301.  
  2302.          will beep at you, and display a blank form ready for data
  2303.  
  2304.          input.
  2305.  
  2306.  
  2307.  
  2308.  
  2309.                                    PAGE 29
  2310.  
  2311.  
  2312.  
  2313.                         FORGE from DAEDALIAN Software
  2314.                   TURBO PASCAL AND dBASE III FORm GEnerator
  2315.  
  2316.  
  2317.  
  2318.  
  2319.          f4=Del
  2320.  
  2321.               This function key will delete a record from the data
  2322.  
  2323.          file.  Actually, it puts a special marker on that record to
  2324.  
  2325.          indicate that it is not to be displayed; the data is still in
  2326.  
  2327.          the data file.  When you are reviewing records with f2 or f3,
  2328.  
  2329.          and you come to a record that has been deleted, the form will
  2330.  
  2331.          be blank, and the status line will inform you that that record
  2332.  
  2333.          has been deleted.  You can press f4 again to undelete the
  2334.  
  2335.          record.
  2336.  
  2337.  
  2338.  
  2339.          f5=Rec#
  2340.  
  2341.               This function key will allow you to go to any record in
  2342.  
  2343.          the data file.  If you know which record you want to review,
  2344.  
  2345.          it is more convenient to use f5, and jump directly to that
  2346.  
  2347.          record, than to use f2 or f3, and go through the file sequent-
  2348.  
  2349.          ially.  When you press f5 the cursor will jump down to the
  2350.  
  2351.          status line to allow you to enter the record number that you
  2352.  
  2353.          want to review.  When the cursor is on the status line the
  2354.  
  2355.          only keys that are active are the numeric keys 0..9.  Enter
  2356.  
  2357.          the number of the record that you want to review, then press
  2358.  
  2359.          <enter>.  If you enter a zero, or a number that is greater
  2360.  
  2361.          than the number of records in your data file, your form will
  2362.  
  2363.          simply position you at the last record of your data file.
  2364.  
  2365.          This is a convenient way to return from reviewing records; if
  2366.  
  2367.          you don't remember the number of the last record in your data
  2368.  
  2369.          file, just enter zero or a very large number to get to the
  2370.  
  2371.          last record, then press f3 to get a blank form for entering
  2372.  
  2373.  
  2374.  
  2375.                                    PAGE 30
  2376.  
  2377.  
  2378.  
  2379.                         FORGE from DAEDALIAN Software
  2380.                   TURBO PASCAL AND dBASE III FORm GEnerator
  2381.  
  2382.  
  2383.  
  2384.          new data.
  2385.  
  2386.  
  2387.  
  2388.          f8=Backup
  2389.  
  2390.               This function key will create a backup file of the data
  2391.  
  2392.          you have entered.
  2393.  
  2394.               When you use this function, your form will first check to
  2395.  
  2396.          see if there is already a <filename>.BAK file on the disk.  If
  2397.  
  2398.          there is it will be deleted, and the original file will be
  2399.  
  2400.          renamed <filename>.BAK.  Then a new file will be created with
  2401.  
  2402.          the exact same name as the original file.  The records from
  2403.  
  2404.          the <filename>.BAK file will be copied to the new file, with
  2405.  
  2406.          the exception of the records that have been deleted.  So, your
  2407.  
  2408.          new file may or may not be slightly smaller than the original
  2409.  
  2410.          file, depending on whether or not there were any deleted
  2411.  
  2412.          records in it.
  2413.  
  2414.               After the backup procedure is completed, you will be
  2415.  
  2416.          working with the new file, therefore, you will no longer be
  2417.  
  2418.          able to undelete any records.
  2419.  
  2420.               If for any reason you want to keep the <filename>.BAK
  2421.  
  2422.          file, you should rename it with some other name, (at the DOS
  2423.  
  2424.          level after you have exited your form) or copy it to another
  2425.  
  2426.          disk. Otherwise, the next time you use the backup function,
  2427.  
  2428.          the <filename>.BAK file will be deleted and replaced by
  2429.  
  2430.          another one.
  2431.  
  2432.  
  2433.  
  2434.          f0=Accept
  2435.  
  2436.               This function key is used to accept the information on
  2437.  
  2438.          the form, and write it to the data file.
  2439.  
  2440.  
  2441.                                    PAGE 31
  2442.  
  2443.  
  2444.  
  2445.                         FORGE from DAEDALIAN Software
  2446.                   TURBO PASCAL AND dBASE III FORm GEnerator
  2447.  
  2448.  
  2449.  
  2450.               While you are entering data on the form, or reviewing
  2451.  
  2452.          records with f2, f3, or f5, you can change anything on the
  2453.  
  2454.          form, and pressing f0 will accept those changes and write it
  2455.  
  2456.          to the data file.
  2457.  
  2458.  
  2459.  
  2460.          Record #
  2461.  
  2462.               The last thing on the status line is the record number
  2463.  
  2464.          indicator.  This simply keeps track of which record you are
  2465.  
  2466.          currently working on.
  2467.  
  2468.  
  2469.  
  2470.          USING YOUR dBASE FORM
  2471.  
  2472.               If you look at the <filename>.FMT file that has been
  2473.  
  2474.          created by FORGE, you will see that it is nothing more than
  2475.  
  2476.          the standard @ Y,X SAY... and @ Y,X GET... statememts.  By
  2477.  
  2478.          using FORGE to design your form you avoid the pain and
  2479.  
  2480.          hassle of having to calculate all the X and Y values for your
  2481.  
  2482.          SAY and GET statements.  Another big advantage of using FORGE
  2483.  
  2484.          is that you can use the IBM graphics characters in your form.
  2485.  
  2486.          The built in dBASE editor does not support the IBM graphics
  2487.  
  2488.          characters.  Therefore, do NOT use the built in editor to edit
  2489.  
  2490.          your .FMT file.  If you do, the editor will convert your
  2491.  
  2492.          graphics characters to nongraphics characters in the lower 128
  2493.  
  2494.          ASCII characters.  If it's necessary for you to edit the .FMT
  2495.  
  2496.          file, you will have to use an external editor that does not
  2497.  
  2498.          automatically change the graphics characters to nongraphics
  2499.  
  2500.          characters.
  2501.  
  2502.               To use this .FMT file in your dBASE application you must
  2503.  
  2504.          copy it to your application disk, and somewhere in the main
  2505.  
  2506.  
  2507.                                    PAGE 32
  2508.  
  2509.  
  2510.  
  2511.                         FORGE from DAEDALIAN Software
  2512.                   TURBO PASCAL AND dBASE III FORm GEnerator
  2513.  
  2514.  
  2515.  
  2516.          PRG file you need to have a SET FORMAT TO <filename> state-
  2517.  
  2518.          ment.  Your dBASE III manual can supply more detailed infor-
  2519.  
  2520.          mation on the proper use of .FMT files.
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535.  
  2536.  
  2537.  
  2538.  
  2539.  
  2540.  
  2541.  
  2542.  
  2543.  
  2544.  
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.                                    PAGE 33
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585.  
  2586.  
  2587.  
  2588.  
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.  
  2598.  
  2599.  
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.                                   INDEX
  2648.                                   *****
  2649.  
  2650.              Alt-Key commands                         9
  2651.             <alt>C: Color Menu                        9
  2652.             <alt>D: Data Field                    9, 11
  2653.             <alt>F: Fill Area                     9, 15
  2654.             <alt>G: Graphics Characters           9, 14
  2655.             <alt>H: Highlight Data Fields.        9, 19
  2656.             <alt>R: Repeat Fill                   9, 18
  2657.              BAK file ext.                           31
  2658.              Blinking text                        6, 10
  2659.              Color                                    3
  2660.              Color menu                               4
  2661.              Color menu command <alt>C                9
  2662.              Compiling the Code (TURBO)              27
  2663.              Creating a new form                      4
  2664.              Cursor location indicator                8
  2665.              Data Field Command <alt>D               11
  2666.              Delete Line (f9)                         8
  2667.              Designing a new form                     4
  2668.              DTA file name ext.           2, 21, 23, 25
  2669.              Edit a Form                             20
  2670.              Extensions for file names                2
  2671.              EXTPROC files                            3
  2672.              f0=Accept                               31
  2673.              f1 (Repeat Down)                         7
  2674.              f1=Quit                                 29
  2675.              f2 (Repeat Left)                         7
  2676.              f2=Prev                                 29
  2677.              f3 (Repeat Up)                           7
  2678.              f3=Next                                 29
  2679.              f4=Del                                  30
  2680.              f5=Rec#                                 30
  2681.              f8 (Insert Line)                         7
  2682.              f8=Backup                               31
  2683.              f9 (Delete Line)                         8
  2684.              f10 (Main Menu)                          8
  2685.              Features of FORGE                        1
  2686.              Filenames (DOS)                         21
  2687.              Fill Area <alt>F                        15
  2688.              FMT file name ext.                   2, 25
  2689.              Function key commands                    6
  2690.              General overview                         2
  2691.              Generate Source Code                    22
  2692.              Graphics Characters <alt>G              14
  2693.              Highlight Data Fields <alt>H            19
  2694.              Insert Line (f8)                         7
  2695.              Legal DOS filenames                 23, 26
  2696.              Legal variable names                24, 27
  2697.              Length of variable names                24
  2698.              Main menu                                4
  2699.              Main Menu (f10)                          8
  2700.              Maximum integer                         24
  2701.              Monochrome                               3
  2702.              Moving around on the form               28
  2703.  
  2704.  
  2705.                                     INDEX
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.              PAS file name ext.                   2, 23
  2712.              Record #                                32
  2713.              Repeat Area Fill <alt>R                 18
  2714.              Repeat Down (f1)                         7
  2715.              Repeat Left (f2)                         7
  2716.              Repeat Up (f3)                           7
  2717.              Save Form                               21
  2718.              System requirements                      3
  2719.              Types of data fields                    24
  2720.              Using your dBASE form                   32
  2721.              Using your TURBO form                   28
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.  
  2728.  
  2729.  
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.                                     INDEX
  2772.  
  2773.